<template>
	<view class="content" v-if="showPage">
		
		<view class="info-v">
			<view class="info"><view class="title">农历：</view><view class="desc"> {{myData.nongli}}</view></view>
			
			<view class="info"><text class="title">值神：</text><view class="desc">{{myData.zhishen}}</view></view>
			
			<view class="info"><text class="title">24节气：</text><view class="desc">{{myData.jieqi24}}</view></view>
			
			<view class="info"><text class="title">纳音：</text><view class="desc">{{myData.nayin}}</view></view>
			
			<view class="info"><text class="title">胎神占方：</text><view class="desc">{{myData.tszf}}</view></view>
			
			<view class="info"><text class="title">生肖：</text><view class="desc">{{myData.shengxiao}}</view></view>
			
			<view class="info"><text class="title">儒略历：</text><view class="desc">{{myData.rulueli}}</view></view>
			
			<view class="info"><view class="title">凶神宜忌：</view><view class="desc"> {{myData.xsyj}}</view></view>
			
			<view class="info"><text class="title">星座：</text><view class="desc">{{myData.xingzuo}}</view></view>
			
			<view class="info"><text class="title">干支：</text><view class="desc">{{myData.ganzhi}}</view></view>
			
			<view class="info"><text class="title">彭祖百忌：</text><view class="desc">{{myData.pzbj}}</view></view>
			
			<view class="info"><text class="title">值日：</text><view class="desc">{{myData.zhiri}}</view></view>
			
			<view class="info"><text class="title">公历：</text><view class="desc">{{myData.gongli}}</view></view>
			
			<view class="info"><text class="title">吉神宜趋：</text><view class="desc">{{myData.jsyq}}</view></view>
			
			<view class="info"><text class="title">忌：</text><view class="desc">{{myData.ji}}</view></view>
			
			<view class="info"><text class="title">节日：</text><view class="desc">{{myData.jieri}}</view></view>
			
			<view class="info"><text class="title">气象：</text><view class="desc">{{myData.qixiang}}</view></view>
			
			<view class="info"><text class="title">冲煞：</text><view class="desc">{{myData.chongsha}}</view></view>
			
			<view class="info"><text class="title">宜：</text><view class="desc">{{myData.yi}}</view></view>
		</view>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
				showPage:false,
				myData:null
			}
		},methods:{
		},
		onLoad(options) {
			this.tokenRequest({url:'lifeService/huangLiYunShi/'+options.type+"/"+options.ymd,method:'get'}).then(res => {
				uni.hideLoading();
				this.myData = res.data;
				this.showPage = true;
			}, error => {})
		}
	}
</script>

<style lang="scss">
	.info-v{
		margin: 20rpx;
		padding: 20rpx;
		border-radius: 20rpx;
		font-size: 30rpx;
		background-color: #fff;
		overflow: auto;
		.title{
			line-height: 100rpx;
			font-weight: 800;
			font-size: 35rpx;
			float: left;
		}
		.desc{
			float: left;
			line-height: 100rpx;
		}
		.info{
			padding: 15rpx;
			clear: both;
		}
	}
</style>

